x86: fix EFER handling
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 May 2007 09:43:18 +0000 (10:43 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 May 2007 09:43:18 +0000 (10:43 +0100)
commitf1bd686887205e44fe33fa9b5130d79e90bfcb91
tree59738c2059242d88c8c2cd0b740eee95b70bee64
parent71adf3c9eb195fd0c9105781df8a1290f4d87154
x86: fix EFER handling

Introduce a per-CPU shadow of what is currently in EFER, as context
switch code must re-write this MSR so that all guests run with
appropriate EFER.SCE and EFER.NX settings. Remove EFER from the set of
MSRs that VMX deals with in a generic fashion.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/shadow/multi.c
xen/include/asm-x86/cpufeature.h
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/svm/svm.h
xen/include/asm-x86/hvm/vmx/vmcs.h
xen/include/asm-x86/hvm/vmx/vmx.h
xen/include/asm-x86/msr.h